package com.minova.demo.service.impl;

import com.minova.demo.entity.TzArea;
import com.minova.demo.mapper.TzAreaMapper;
import com.minova.demo.service.ITzAreaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author linrongji
 * @since 2019-12-23
 */
@Service
public class TzAreaServiceImpl extends ServiceImpl<TzAreaMapper, TzArea> implements ITzAreaService {

	@Autowired
	private TzAreaMapper tzAreaMapper;
	@Override
	public List<TzArea> select() {
		// TODO Auto-generated method stub
		return tzAreaMapper.select();
	}
	@Override
	public List<TzArea> getArea(long pid) {
		// TODO Auto-generated method stub
		return tzAreaMapper.getArea(pid);
	}

}
